package com.tbit.uqbike.client.pojo.newEntity;


import java.util.Date;


/**
 * @Author: chen
 * @Description: 用户分账账号
 * @Date: 创建于 9:13 2021/9/27
 */
public class UserDivide {
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 用户余额
     */
    private Double money;
    /**
     * 手机号码
     */
    private String phone;
    /**
     * 用户编号
     */
    private String userNO;
    /**
     * 结算用户编号
     */
    private String settleNO;
    /**
     * 添加时间
     */
    private Date addTime;
    /**
     * 生效时间
     */
    private Date effectiveTime;
    /**
     * 状态
     */
    private Integer state;
    /**
     * 分成比例
     */
    private Double proportion;
    /**
     * 是否主账号，0不是1是
     */
    private Integer mainUser;
    /**
     * 备注
     */
    private String remark;

    public UserDivide() {
    }

    public UserDivide(String userNO, Double proportion) {
        this.userNO = userNO;
        this.proportion = proportion;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserNO() {
        return userNO;
    }

    public void setUserNO(String userNO) {
        this.userNO = userNO;
    }

    public String getSettleNO() {
        return settleNO;
    }

    public void setSettleNO(String settleNO) {
        this.settleNO = settleNO;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Double getProportion() {
        return proportion;
    }

    public void setProportion(Double proportion) {
        this.proportion = proportion;
    }

    public Integer getMainUser() {
        return mainUser;
    }

    public void setMainUser(Integer mainUser) {
        this.mainUser = mainUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "UserDivide{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", accountId=" + accountId +
                ", money=" + money +
                ", phone='" + phone + '\'' +
                ", userNO='" + userNO + '\'' +
                ", settleNO='" + settleNO + '\'' +
                ", addTime=" + addTime +
                ", effectiveTime=" + effectiveTime +
                ", state=" + state +
                ", proportion=" + proportion +
                ", mainUser=" + mainUser +
                ", remark='" + remark + '\'' +
                '}';
    }
}
